package com.tank.dubbo.service.consumer;

import org.springframework.context.support.AbstractRefreshableConfigApplicationContext;
import org.springframework.context.support.FileSystemXmlApplicationContext;

/**
 * Created with IntelliJ IDEA.
 * User: SuQiEr
 * Date:2017/9/30
 * Time: 14:41
 * To change this template use File | Settings | File Templates.
 */
public class Main {


    public static void main(String[] args) {
        AbstractRefreshableConfigApplicationContext context =
                new FileSystemXmlApplicationContext("E:\\workspace\\tank\\quiet-beauty\\quiet-jdk8\\src\\main\\java\\com\\tank\\dubbo\\service\\consumer\\applicationContext-aop.xml");
        context.start();
    Person person = (Person)context.getBean("person");
        person.say();
    }
}
